package com.app.designpatternslearn.structured.adapterpattern

import com.app.designpatternslearn.structured.adapterpattern.code.AudioPlayer
import com.app.designpatternslearn.structured.adapterpattern.code.MediaType

fun main() {

    val audioPlayer = AudioPlayer(MediaType.MP3)
    audioPlayer.play(MediaType.MP3, "ahahhahahah")

    audioPlayer.play(MediaType.MP4, "2222222222")
    audioPlayer.play(MediaType.VLC, "11111111111")
}